package com.doordu.soa.service.data.vo;

import java.io.Serializable;
import java.util.Date;

import com.doordu.soa.service.web.annotation.DataValid;
import com.doordu.soa.service.web.em.RegexType;

import io.swagger.annotations.ApiModelProperty;

/**
 * 停车场vo类
 * 
 * @ClassName: ParkingLotVo
 * @Description:
 * @author xiaoqun.yi yixq@doordu.com
 * @date 2017年8月31日 下午1:58:16
 * @version V1.0
 */
public class ParkingLotVo extends BaseDataVo implements Serializable {

	/**
	 * @Fields serialVersionUID :
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(hidden = true)
	private Integer depId;
	
	@DataValid(description = "停车场编号", maxLength = 150, minLength=2,nullable = false, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "停车场编号(50)", notes = "停车场编号(50)", required = true, dataType = "string")
	private String parkingNo;// 停车场编号

	@DataValid(description = "停车场名称", maxLength = 150,minLength=2, nullable = false, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "停车场名称(200)", notes = "停车场编号(50)", required = true, dataType = "string")
	private String parkingName;// 停车场名称

	@DataValid(description = "数据唯一ID", maxLength = 150, nullable = false, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "数据唯一ID(50)", notes = "数据唯一ID(50)", required = true, dataType = "string")
	private String dataId;

	@DataValid(description = "停车场地址", maxLength = 500, nullable = false, regexType = RegexType.NO_SPECIALCHAR)
	@ApiModelProperty(value = "停车场地址(500)", notes = "停车场编号(500)", required = true, dataType = "string")
	private String parkingAddr;

	@DataValid(description = "车位总数", maxLength = 10, nullable = false, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "车位总数(10)", notes = "车位总数", required = true, dataType = "int")
	private Integer parkingSpaceTotal;

	@DataValid(description = "固定车位", maxLength = 10, nullable = true, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "固定车位(10)", notes = "固定车位", required = false, dataType = "int")
	private Integer spaceFixed;

	@DataValid(description = "临时车位", maxLength = 10, nullable = false, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "临时车位(10)", notes = "临时车位", required = true, dataType = "int")
	private Integer spaceTemp;

	@DataValid(description = "剩余车位", maxLength = 10, nullable = false, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "剩余车位(10)", notes = "剩余车位", required = true, dataType = "int")
	private Integer spaceLeft;

	@DataValid(description = "停车场状态", maxLength = 2, nullable = true, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "停车场状态(2)", notes = "停车场状态", required = false, dataType = "int")
	private Integer parkingStatus;

	@DataValid(description = "剩余固定车位", maxLength = 10, nullable = true, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "剩余固定车位(10)", notes = "剩余固定车位", required = false, dataType = "int")
	private Integer spaceFixedLeft;

	@DataValid(description = "剩余临时车位", maxLength = 10, nullable = false, regexType = RegexType.NUMBER)
	@ApiModelProperty(value = "剩余临时车位(10)", notes = "剩余临时车位", required = true, dataType = "int")
	private Integer spaceTempLeft;

	@DataValid(description = "停车场创建时间", maxLength = 50, nullable = false, regexType = RegexType.DATE_YYYY_MM_DD_HH_MM_SS)
	@ApiModelProperty(value = "停车场创建时间(yyyy-MM-dd HH:MM:SS)", notes = "停车场创建时间(yyyy-MM-dd HH:MM:SS)", required = true, dataType = "string")
	private String parkingCreateTime;

	public Integer getDepId() {
		return depId;
	}

	public void setDepId(Integer depId) {
		this.depId = depId;
	}

	public String getParkingAddr() {
		return parkingAddr;
	}

	public void setParkingAddr(String parkingAddr) {
		this.parkingAddr = parkingAddr;
	}

	public Integer getParkingSpaceTotal() {
		return parkingSpaceTotal;
	}

	public void setParkingSpaceTotal(Integer parkingSpaceTotal) {
		this.parkingSpaceTotal = parkingSpaceTotal;
	}

	public Integer getSpaceFixed() {
		return spaceFixed;
	}

	public void setSpaceFixed(Integer spaceFixed) {
		this.spaceFixed = spaceFixed;
	}

	public Integer getSpaceTemp() {
		return spaceTemp;
	}

	public void setSpaceTemp(Integer spaceTemp) {
		this.spaceTemp = spaceTemp;
	}

	public Integer getSpaceLeft() {
		return spaceLeft;
	}

	public void setSpaceLeft(Integer spaceLeft) {
		this.spaceLeft = spaceLeft;
	}

	public Integer getParkingStatus() {
		return parkingStatus;
	}

	public void setParkingStatus(Integer parkingStatus) {
		this.parkingStatus = parkingStatus;
	}

	public Integer getSpaceFixedLeft() {
		return spaceFixedLeft;
	}

	public void setSpaceFixedLeft(Integer spaceFixedLeft) {
		this.spaceFixedLeft = spaceFixedLeft;
	}

	public Integer getSpaceTempLeft() {
		return spaceTempLeft;
	}

	public void setSpaceTempLeft(Integer spaceTempLeft) {
		this.spaceTempLeft = spaceTempLeft;
	}

	public String getParkingCreateTime() {
		return parkingCreateTime;
	}

	public void setParkingCreateTime(String parkingCreateTime) {
		this.parkingCreateTime = parkingCreateTime;
	}

	public String getParkingNo() {
		return parkingNo;
	}

	public void setParkingNo(String parkingNo) {
		this.parkingNo = parkingNo;
	}

	public String getParkingName() {
		return parkingName;
	}

	public void setParkingName(String parkingName) {
		this.parkingName = parkingName;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}
	
}
